home *** CD-ROM | disk | FTP | other *** search
- Path: email.eag.unisysgsg.com!not-for-mail
- From: ssadra@maltese.eag.unisysgsg.com (Daniel R. Ascheman)
- Newsgroups: comp.lang.c
- Subject: using pipe() and dup2??????
- Date: 28 Feb 1996 10:56:07 -0600
- Organization: Loral Defense Systems-Eagan, Eagan, MN USA
- Message-ID: <4h21f7$osc@maltese.eag.unisysgsg.com>
- NNTP-Posting-Host: maltese.eag.unisysgsg.com
- X-Newsreader: TIN [version 1.2 PL0]
-
- I am writing a program that uses grep to search for a password
- to cross reference......I have only heard about pipe() being used
- to manipulate to output of grep to a char buf[256] in my code instead
- of out putting greps output to STDOUT i.e. a file in my dir.
-
- Any help on HOW to use pipe() with grep and dup2 would be great.
- thanx.
-
- Dan ascheman <ssadra@maltese.eag.unisysgsg.com>
-
-
-
-